function updateCities(cityList)
{			
	var cities = new Array();
	cities = cityList.split(',');
	while(document.getElementById('city_select').length>0)
	{
		document.getElementById('city_select').remove(0);
	}
	for(var i=0;i<cities.length-1;i++)
	{
		cityVal=cities[i].split(';');
		var newOption = document.createElement('option');
		newOption.text=cityVal[1];
		newOption.value=cityVal[0];
		if(cityVal[1]=='Jerusalem')
		{
			newOption.selected = true;
		}
		try
		{
			document.getElementById('city_select').add(newOption, null);
		}
		catch(ex)
		{
			document.getElementById('city_select').add(newOption);
		} 
	}
}

